package org.xg.study.pd.test;

import com.alibaba.fastjson.JSON;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xg.study.pd.Activity;
import org.xg.study.pd.ActivityController;

/**
 * @author CMG
 * @version 1.0
 * @description
 * @cLassName ApiTest11_01
 * @date 2021/9/15 16:27
 **/
public class ApiTest11_01 {
    private Logger logger = LoggerFactory.getLogger(ApiTest11_01.class);

    private ActivityController activityController = new ActivityController();

    @Test
    public void test_queryActivityInfo() {
        Long req = 10001L;
        Activity activity = activityController.queryActivityInfo(req);
        logger.info("测试结果：{} {}", req, JSON.toJSONString(activity));
    }
}
